#!/bin/bash

echo "========= Patch start ============"

# patch build
cd build/
patch -p1 < ../vendor/lyzr/patch/build.diff
cd - > /dev/null 2>&1

# patch device
cd device/
patch -p1 < ../vendor/lyzr/patch/device.diff
cd - > /dev/null 2>&1

echo "========= Patch complete ============"
